package com.javatraining.corejava.homework.laptop;

/**
 * @author kmatharasi
 * 
 * Demo Class to instantiate the Laptop 
 * 
 *
 */
public class LaptopDemo {


	public static void main(String[] args) {
		
		Laptop laptop1 = new Laptop();
		
		laptop1.setMake("DELL");
		laptop1.setModel("XPS");
		laptop1.setOperatingSystem("Windows 8");
		laptop1.setSerialNumber(121240);
		laptop1.setSoftware("Excel");
		laptop1.setYear(2013);
	
		System.out.println(laptop1.getMake());
		System.out.println("-----------------");
		System.out.println(laptop1.getModel());
		System.out.println("-----------------");
		System.out.println(laptop1.getYear());
		System.out.println("-----------------");
		System.out.println(laptop1.getSerialNumber());
		System.out.println("-----------------");
		
		
		laptop1.On(true);
		laptop1.start(1);
		laptop1.runProgram("PDF");
		laptop1.Sleep("Sleep");
		laptop1.upgrade("1 GB", "Windows XP", "100 GB");
		laptop1.Off(false);
		
				
		
		

		
	}

}